<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Авторизация',
);
?>

<div class="row">
	<div class="span6 offset3">
		<div class="well">
			<fieldset>
				<legend>Авторизация</legend>
				<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
					'id'=>'login-form',
					'type'=>'vertical',
				)); ?>

				<?php echo $form->textFieldRow($model,'username',array('class'=>'input-block-level')); ?>

				<?php echo $form->passwordFieldRow($model,'password',array('class'=>'input-block-level')); ?>

				<div style="margin-top: 10px;">
				<?php $this->widget('bootstrap.widgets.TbButton', array(
					'buttonType'=>'submit',
					'type'=>'success',
					'label'=>'Войти',
					'htmlOptions'=>array('class'=>'input-block-level')
				)); ?>
				</div>

				<?php $this->endWidget(); ?>
			</fieldset>
		</div>
	</div>
</div>
